package cn.coder.toolkit;

/**
 * @author com.mrathena
 */
public final class CaptchaKit {

	private CaptchaKit() {}

	/**
	 * 生成验证码
	 */
	public static String captcha(int length) {
		return String.valueOf((int) ((Math.random() * 9 + 1) * Math.pow(10, length - 1)));
	}

}